﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Fashion.Models.Model.ProductCategoryModel>" %>
<%Html.EnableClientValidation(); %>
<%using(Html.BeginForm()) {%>
<table border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td>Name</td>
        <td>
            <%=Html.TextBoxFor(i => i.Name, new {@class="textbox"})%>
            <%=Html.ValidationMessageFor(i=>i.Name) %>
        </td>
    </tr>
    <tr>
        <td>Order Display</td>
        <td>
            <%=Html.TextBoxFor(i => i.OrderDisplay)%>
            <%=Html.ValidationMessageFor(i => i.OrderDisplay)%>
        </td>
    </tr>
    <tr>
        <td></td>
        <td><input type="submit" name="" value="Submit" /></td>
    </tr>
</table>    
<%} %>